package com.cjh.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cjh.common.dto.StoreUserDTO;
import com.cjh.common.entity.Store;

import java.util.List;

/**
 * @Entity com.cjh.common..Store
 */
public interface StoreMapper extends BaseMapper<Store> {

    List<StoreUserDTO> selectStoreListByShopownerId(Integer userId);


    List<Store> getUserHaveOrBelongToStore(Boolean isAdmin,Integer userId);
}




